<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcrtc: crtc::VideoSource Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libcrtc
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>crtc</b></li><li class="navelem"><a class="el" href="classcrtc_1_1_video_source.html">VideoSource</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classcrtc_1_1_video_source-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">crtc::VideoSource Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for crtc::VideoSource:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcrtc_1_1_video_source.png" usemap="#crtc::VideoSource_map" alt=""/>
  <map id="crtc::VideoSource_map" name="crtc::VideoSource_map">
<area href="classcrtc_1_1_media_stream.html" alt="crtc::MediaStream" shape="rect" coords="0,56,114,80"/>
<area href="classcrtc_1_1_reference.html" alt="crtc::Reference" shape="rect" coords="0,0,114,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8a8e6acfd309f26c5131d6712313d694"><td class="memItemLeft" align="right" valign="top"><a id="a8a8e6acfd309f26c5131d6712313d694"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsRunning</b> () const =0</td></tr>
<tr class="separator:a8a8e6acfd309f26c5131d6712313d694"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf7d0784b5534e6493712e57b42c96e9"><td class="memItemLeft" align="right" valign="top"><a id="adf7d0784b5534e6493712e57b42c96e9"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>Stop</b> ()=0</td></tr>
<tr class="separator:adf7d0784b5534e6493712e57b42c96e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae254c34921f43a9e17f6bbb74b771171"><td class="memItemLeft" align="right" valign="top"><a id="ae254c34921f43a9e17f6bbb74b771171"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>Width</b> () const =0</td></tr>
<tr class="separator:ae254c34921f43a9e17f6bbb74b771171"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac843a84b91bdbc3bf9e609c19e2f0eaa"><td class="memItemLeft" align="right" valign="top"><a id="ac843a84b91bdbc3bf9e609c19e2f0eaa"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><b>Height</b> () const =0</td></tr>
<tr class="separator:ac843a84b91bdbc3bf9e609c19e2f0eaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29853880f30653735294e463c69d5cc4"><td class="memItemLeft" align="right" valign="top"><a id="a29853880f30653735294e463c69d5cc4"></a>
virtual float&#160;</td><td class="memItemRight" valign="bottom"><b>Fps</b> () const =0</td></tr>
<tr class="separator:a29853880f30653735294e463c69d5cc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e0815f927447623e66f8d925e2c358a"><td class="memItemLeft" align="right" valign="top"><a id="a5e0815f927447623e66f8d925e2c358a"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>Write</b> (const <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_image_buffer.html">ImageBuffer</a> &gt; &amp;frame, ErrorCallback callback=ErrorCallback())=0</td></tr>
<tr class="separator:a5e0815f927447623e66f8d925e2c358a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcrtc_1_1_media_stream"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcrtc_1_1_media_stream')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classcrtc_1_1_media_stream.html">crtc::MediaStream</a></td></tr>
<tr class="memitem:a9b25c33691044168293ef132cd4ab326 inherit pub_methods_classcrtc_1_1_media_stream"><td class="memItemLeft" align="right" valign="top"><a id="a9b25c33691044168293ef132cd4ab326"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><b>Id</b> () const =0</td></tr>
<tr class="separator:a9b25c33691044168293ef132cd4ab326 inherit pub_methods_classcrtc_1_1_media_stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96299b4e190da779d3593e54496ef113 inherit pub_methods_classcrtc_1_1_media_stream"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrtc_1_1_media_stream.html#a96299b4e190da779d3593e54496ef113">AddTrack</a> (const <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_media_stream_track.html">MediaStreamTrack</a> &gt; &amp;track)=0</td></tr>
<tr class="separator:a96299b4e190da779d3593e54496ef113 inherit pub_methods_classcrtc_1_1_media_stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ed541ff8c7e1d5681bf9f541bed2f4e inherit pub_methods_classcrtc_1_1_media_stream"><td class="memItemLeft" align="right" valign="top"><a id="a5ed541ff8c7e1d5681bf9f541bed2f4e"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>RemoveTrack</b> (const <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_media_stream_track.html">MediaStreamTrack</a> &gt; &amp;track)=0</td></tr>
<tr class="separator:a5ed541ff8c7e1d5681bf9f541bed2f4e inherit pub_methods_classcrtc_1_1_media_stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af04f1534bc89fd8bfb94476b53de0c1c inherit pub_methods_classcrtc_1_1_media_stream"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_media_stream_track.html">MediaStreamTrack</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrtc_1_1_media_stream.html#af04f1534bc89fd8bfb94476b53de0c1c">GetTrackById</a> (const std::string &amp;id) const =0</td></tr>
<tr class="separator:af04f1534bc89fd8bfb94476b53de0c1c inherit pub_methods_classcrtc_1_1_media_stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e887b506976353fc6a257d6aa7819c3 inherit pub_methods_classcrtc_1_1_media_stream"><td class="memItemLeft" align="right" valign="top"><a id="a3e887b506976353fc6a257d6aa7819c3"></a>
virtual MediaStreamTracks&#160;</td><td class="memItemRight" valign="bottom"><b>GetAudioTracks</b> () const =0</td></tr>
<tr class="separator:a3e887b506976353fc6a257d6aa7819c3 inherit pub_methods_classcrtc_1_1_media_stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3128cbb5b1af4e3438920b2eb4e7b4af inherit pub_methods_classcrtc_1_1_media_stream"><td class="memItemLeft" align="right" valign="top"><a id="a3128cbb5b1af4e3438920b2eb4e7b4af"></a>
virtual MediaStreamTracks&#160;</td><td class="memItemRight" valign="bottom"><b>GetVideoTracks</b> () const =0</td></tr>
<tr class="separator:a3128cbb5b1af4e3438920b2eb4e7b4af inherit pub_methods_classcrtc_1_1_media_stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa12160205f1736754459d99ed9a8cca7 inherit pub_methods_classcrtc_1_1_media_stream"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_media_stream.html">MediaStream</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcrtc_1_1_media_stream.html#aa12160205f1736754459d99ed9a8cca7">Clone</a> ()=0</td></tr>
<tr class="separator:aa12160205f1736754459d99ed9a8cca7 inherit pub_methods_classcrtc_1_1_media_stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:af5930ea86b61b97c6b2b8e3b42bd4537"><td class="memItemLeft" align="right" valign="top"><a id="af5930ea86b61b97c6b2b8e3b42bd4537"></a>
static <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_video_source.html">VideoSource</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>New</b> (int width=1280, int height=720, float fps=30)</td></tr>
<tr class="separator:af5930ea86b61b97c6b2b8e3b42bd4537"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a5675163d138ca5bef897df8dc3603ed0"><td class="memItemLeft" align="right" valign="top"><a id="a5675163d138ca5bef897df8dc3603ed0"></a>
Callback&#160;</td><td class="memItemRight" valign="bottom"><b>ondrain</b></td></tr>
<tr class="separator:a5675163d138ca5bef897df8dc3603ed0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_classcrtc_1_1_media_stream"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classcrtc_1_1_media_stream')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classcrtc_1_1_media_stream.html">crtc::MediaStream</a></td></tr>
<tr class="memitem:a351f3cc6b4fc715b1d2efa38a0c99f01 inherit pub_attribs_classcrtc_1_1_media_stream"><td class="memItemLeft" align="right" valign="top"><a id="a351f3cc6b4fc715b1d2efa38a0c99f01"></a>
Functor&lt; void(const <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_media_stream_track.html">MediaStreamTrack</a> &gt; &amp;track)&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>onaddtrack</b></td></tr>
<tr class="separator:a351f3cc6b4fc715b1d2efa38a0c99f01 inherit pub_attribs_classcrtc_1_1_media_stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a840d334d0fba4fbd39d9ef51b6935f52 inherit pub_attribs_classcrtc_1_1_media_stream"><td class="memItemLeft" align="right" valign="top"><a id="a840d334d0fba4fbd39d9ef51b6935f52"></a>
Functor&lt; void(const <a class="el" href="classcrtc_1_1_let.html">Let</a>&lt; <a class="el" href="classcrtc_1_1_media_stream_track.html">MediaStreamTrack</a> &gt; &amp;track)&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>onremovetrack</b></td></tr>
<tr class="separator:a840d334d0fba4fbd39d9ef51b6935f52 inherit pub_attribs_classcrtc_1_1_media_stream"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="crtc_8h_source.html">crtc.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>
